package ch03;

public class p49_4_1 {
	public static void main (String args[]) {
		int sum=0,i=1,t=1;
		for(;i<=10;i++) {
			t=t*i;
			sum=sum+t;
		}
		System.out.println(sum);
	}
}
